package fi.iki.joker.mobilogger.img;

import android.app.Activity;
import android.content.Context;
import android.widget.TableLayout;

/**
 * This interface defines how image repositories are accessed by other packages.
 * @author JuhaK
 *
 */

public interface ImageRepository {
	
	public ImageRepositoryConstants.ImageRepositoryType getRepositoryType();
	
	public String getAuthId(String userName, String password);
	
	public String drawConfigFields(Activity parent, TableLayout tl, 
			Context context, int startIdFrom, int populateFromID);
	
	public String getInterfaceConfig();
	
	public boolean setInterfaceConfig(String config);
	
}
